home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / binutils.2 / ld / m68kcoff.sc- < prev    next >
Encoding:
Text File  |  1993-05-30  |  995 b   |  42 lines

  1. # This is totally made up, from the a29k stuff.  If you know better,
  2. # tell us about it.
  3. cat <<EOF
  4. OUTPUT_FORMAT("${OUTPUT_FORMAT}")
  5. ${LIB_SEARCH_DIRS}
  6.  
  7. MEMORY {
  8.     text       : ORIGIN = 0x1000000, LENGTH = 0x1000000
  9.     talias     : ORIGIN = 0x2000000, LENGTH = 0x1000000
  10.     data    : ORIGIN = 0x3000000, LENGTH = 0x1000000
  11.     mstack     : ORIGIN = 0x4000000, LENGTH = 0x1000000
  12.     rstack     : ORIGIN = 0x5000000, LENGTH = 0x1000000
  13. }
  14. SECTIONS
  15. {
  16.   .text : {
  17.     *(.text)
  18.     ${RELOCATING+ etext  =  .};
  19.     *(.lit)
  20.     *(.shdata)
  21.   } ${RELOCATING+ > text}
  22.   .shbss SIZEOF(.text) + ADDR(.text) :    {
  23.     *(.shbss)
  24.   } 
  25.   .talias :     { } ${RELOCATING+ > talias}
  26.   .data  : {
  27.     *(.data)
  28.     ${RELOCATING+ edata  =  .};
  29.   } ${RELOCATING+ > data}
  30.   .bss   SIZEOF(.data) + ADDR(.data) :
  31.   {                     
  32.     ${RELOCATING+ __bss_start = .};
  33.    *(.bss)
  34.    *(COMMON)
  35.      ${RELOCATING+ end = ALIGN(0x8)};
  36.      ${RELOCATING+ _end = ALIGN(0x8)};
  37.   }
  38.   .mstack  : { } ${RELOCATING+ > mstack}
  39.   .rstack  : { } ${RELOCATING+ > rstack}
  40. }
  41. EOF
  42.